

export default {
  name: 'product',
  components: {},
  props: [],
  data() {
    return {
      isbackground:'product',
      show1: true,
      show2: false,
      show3: false,
      show4: false,
      show5: false,
      show6: false,
    }
  },
  computed: {

  },
  mounted() {

  },
  methods: {
    tab(arg) {
      this.isbackground = arg;
      if (arg == "product") {
          this.show1 = true,
          this.show2 = false,
          this.show3 = false,
          this.show4 = false,
          this.show5 = false,
          this.show6 = false
      } else if (arg == "stock") {
        // alert(2)
        this.show1 = false ,
          this.show2 = true,
          this.show3 = false,
          this.show4 = false,
          this.show5 = false,
          this.show6 = false
      } else if (arg == "hdpe") {
        this.show1 = false,
          this.show2 = false,
          this.show3 = true,
          this.show4 = false,
          this.show5 = false,
          this.show6 = false
        // alert(3)
      } else if (arg == "hdpe") {
        this.show1 = false,
          this.show2 = false,
          this.show3 = false,
          this.show4 = true,
          this.show5 = false,
          this.show6 = false
        // alert(4)
      } else if (arg == "ldpe") {
        this.show1 = false,
          this.show2 = false,
          this.show3 = false,
          this.show4 = false,
          this.show5 = true,
          this.show6 = false
        // alert(5)
      } else if (arg == "ppj") {
        this.show1 = false,
          this.show2 = false,
          this.show3 = false,
          this.show4 = false,
          this.show5 = false,
          this.show6 = true
        // alert(6)
      }
    }
  }
}
